<template>
  <svg :style="`width:${width}px; height:${height}px;`">
    <use :xlink:href="`#icon-${name}`" :fill="color"></use>
  </svg>
</template>
<script setup>
defineProps({
  width: {
    type: String,
    default: '16',
  },
  height: {
    type: String,
    default: '16',
  },
  name: {
    type: String,
    required: true,
  },
  color: {
    type: String,
    default: '',
  },
})
</script>
